package com.ff.xyh;

import com.ff.xyh.common.servicebase.config.MybatisPlusConfig;
import com.ff.xyh.common.servicebase.config.RedisConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

import java.io.File;

/**
 * @Auther FF
 * @Date 2022年 10月 24日
 * @Time 02:55
 */

@EnableDiscoveryClient
@SpringBootApplication(exclude = {
        SecurityAutoConfiguration.class
})
// 启动时排除一些配置类
@ComponentScan(excludeFilters = @ComponentScan.Filter(
        type = FilterType.ASSIGNABLE_TYPE,
        classes = {
                MybatisPlusConfig.class,
                RedisConfig.class
        }))
public class Minio_8890_Applicaition {
    public static void main(String[] args) {
        SpringApplication.run(Minio_8890_Applicaition.class, args);
    }

}
